package cn.edu.fzu.delivery.domain.entity;

import cn.edu.fzu.delivery.domain.enums.NetWorkStatusEnum;
import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

import java.util.Date;

/**
 * 网点
 *
 * @author fangxin
 * @date 2022/11/3
 */
@Data
public class Network {

    private Long              id;
    //名称
    private String            name;
    //地区
    private Area              area;
    //详细地址
    private String            address;
    //备注
    private String            desc;
    //状态
    private NetWorkStatusEnum status;
    //创建时间
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date              createTime;
}
